﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Xant.FlowEngine.Interface
{
    /// <summary>
    /// 工作日历接口
    /// </summary>
    public interface ICalendar
    {
        bool IsWorkday(DateTime day);

        DateTime AfterWorkdays(DateTime day, int days);

        int CountWorkdays(DateTime begin, DateTime end);

    }

}
